]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Drop gs-applications.menu so the standard one is used
authorVincent Untz <vuntz@gnome.org>
Tue, 1 Feb 2011 14:26:31 +0000 (15:26 +0100)
committerVincent Untz <vuntz@gnome.org>
Fri, 25 Feb 2011 15:08:51 +0000 (16:08 +0100)
gs-applications was introduced because we initially wanted a limited set
of categories, but this has now changed and we're back to categories
similar to the ones in the applications.menu from gnome-menus.

We can fix gnome-menus to have better categories, if needed.

https://bugzilla.gnome.org/show_bug.cgi?id=641148

data/Makefile.am
data/gs-applications.menu [deleted file]
src/gnome-shell-plugin.c

index 103e30b84b025336da91d2103e2dd7319fa31b39..1f207ef78dacf5a59dc620f46751759b81890f01 100644 (file)
@@ -72,11 +72,6 @@ all-local: gschemas.compiled
 gconfschemadir  = @GCONF_SCHEMA_FILE_DIR@
 gconfschema_DATA = gnome-shell.schemas
 
-menudir = $(sysconfdir)/xdg/menus
-
-menu_DATA = \
-       gs-applications.menu
-
 shadersdir = $(pkgdatadir)/shaders
 shaders_DATA = \
        shaders/dim-window.glsl
diff --git a/data/gs-applications.menu b/data/gs-applications.menu
deleted file mode 100644 (file)
index b26ed00..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-<Menu>
-       <DefaultLayout>
-               <Menuname>Accessories</Menuname>
-               <Menuname>Games</Menuname>
-               <Menuname>Graphics</Menuname>
-               <Menuname>Internet</Menuname>
-               <Menuname>Multimedia</Menuname>
-               <Menuname>Office</Menuname>
-               <Menuname>Other</Menuname>
-       </DefaultLayout>
-
-       <Name>Applications</Name>
-       <AppDir>/usr/local/share/applications</AppDir>
-       <DefaultAppDirs/>
-
-       <Menu>
-               <Name>Accessories</Name>
-               <Include>
-                       <And>
-                               <Category>Utility</Category>
-                               <Not>
-                                       <Category>System</Category>
-                               </Not>
-                       </And>
-               </Include>
-       </Menu>
-
-       <Menu>
-               <Name>Games</Name>
-               <Include>
-                       <And>
-                               <Category>Game</Category>
-                       </And>
-               </Include>
-       </Menu>
-
-       <Menu>
-               <Name>Graphics</Name>
-               <Include>
-                       <And>
-                               <Category>Graphics</Category>
-                       </And>
-               </Include>
-       </Menu>
-
-       <Menu>
-               <Name>Internet</Name>
-               <Include>
-                       <And>
-                               <Category>Network</Category>
-                               <Not><Category>Settings</Category></Not>
-                       </And>
-               </Include>
-       </Menu>
-
-       <Menu>
-               <Name>Multimedia</Name>
-               <Include>
-                       <And>
-                               <Category>AudioVideo</Category>
-                               <Not><Category>Settings</Category></Not>
-                       </And>
-               </Include>
-       </Menu>
-
-       <Menu>
-               <Name>Office</Name>
-               <Include>
-                       <And>
-                               <Category>Office</Category>
-                       </And>
-               </Include>
-       </Menu>
-
-       <Menu>
-               <Name>Other</Name>
-               <OnlyUnallocated/>
-               <Include>
-                       <And>
-                               <Not><Category>Settings</Category></Not>
-                               <Not><Category>Screensaver</Category></Not>
-                       </And>
-               </Include>
-       </Menu>
-</Menu>
index 59823bd94a0bcc110db8524a00d5783f4d295a2e..1fe7de570034b12406e2008559bb769aadfa3e69 100644 (file)
@@ -157,7 +157,6 @@ gnome_shell_plugin_class_init (GnomeShellPluginClass *klass)
 static void
 gnome_shell_plugin_init (GnomeShellPlugin *shell_plugin)
 {
-  g_setenv ("XDG_MENU_PREFIX", "gs-", TRUE);
   meta_prefs_override_preference_location ("/apps/mutter/general/attach_modal_dialogs",
                                            "/desktop/gnome/shell/windows/attach_modal_dialogs");
   meta_prefs_override_preference_location ("/apps/metacity/general/button_layout",